package com.bling.iservice;

import java.io.Serializable;
import java.sql.SQLException;

import com.bling.common.bean.Area;
import com.bling.common.page.PageResult;

/**
 * 地区服务接口
 * @author BLingSoft
 *
 */
public interface IAreaService {

	public void saveArea(Area area) throws SQLException;
	
	public void updateArea(Area area) throws SQLException;
	
	public void updateAreaSort(Serializable id,Integer sort) throws SQLException;
	
	public void deleteAreaById(Serializable id) throws SQLException;
	
	public void deleteArea(Area area) throws SQLException;
	
	public Area findAreaById(Serializable id) throws SQLException;
	
	public PageResult<Area> listAreaAll() throws SQLException;
	
	public PageResult<Area> listAreaByPage(int from,int num) throws SQLException;
	
	public PageResult<Area> searchArea(String keyword,int from,int num) throws SQLException;
}
